package com.example.demo1108.demo4;

public class Test {
    public static void main(String[] args) {
        Pater pater = new Pater(new Voltage220());
        int voltage = pater.voltage();
        System.out.println(voltage);
    }
}
